package mn.idax.exchange.otc.vo;

import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import mn.idax.exchange.common.bean.IdaxBase;

/**
 * Create by shihaiming
 */

@Getter
@Setter
@ApiModel(value = "OTCAdvertiserDTO", description = "查询广告主信息请求对象")
public class OTCAdvertiserDTO extends IdaxBase {

	private static final long serialVersionUID = 1L;

	//根据OTCuser表中的uuid查出对应的用户id
    @ApiModelProperty(value = "uuid")
    @NotEmpty(message = "{ad.uniqueKey.notempty}")
    private String uniqueKey;
    
    //每页显示数量
    @ApiModelProperty(value = "广告类型  1-出售 2-购买")
    private Integer type;
    
    //当前页
    @ApiModelProperty(value = "当前页")
    private Integer pageIndex;
    
    //每页显示数量
    @ApiModelProperty(value = "每页显示数量")
    private Integer pageSize;
    
    //广告发布人id
    @ApiModelProperty(value = "广告发布人id，不需要传，后台根据uuid去获取")
    private Integer publisherId;
    
}
